#pragma once
#define _CRT_SECURE_NO_WARNINGS
#include"FunctionCall.h"

class LogParser {
private:
	std::vector<std::string> xmlStrs;
	std::vector<FunctionCall> calls;
	int maxParasSize = 0;
private:
	FunctionCall parseXmlStrToCall(std::string xmlStr);
public:
	std::vector<std::string>& getXmlStrs();
	std::vector<FunctionCall>& getCalls();
	std::vector<FunctionCall>& parseLogFileToCalls(std::string logFilePath);
	void setParserCalls(std::vector<FunctionCall> calls);
	int getMaxParasSize();
};